package com.greatchn.security_demo.web.controller;

import com.greatchn.security_demo.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @UserController: user ctrl
 * @author: ZBoHang
 * @time: 2023/2/8 11:13
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("getUser")
    public Result getUser() {

        return Result.success("suc!");
    }
}
